package com.thunder.kocho.circle;

import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.util.AttributeSet;


/**
 * 最基本的圆形头像
 * @author Hilex
 * @date 2021-3-4
 */
public class CircleView extends BaseCircleView {

    public CircleView(Context context){
        this(context,null);
    }

    public CircleView(Context context, AttributeSet attrs){
        this(context,attrs,0);
    }

    public CircleView(Context context, AttributeSet attrs, int defStyle){
        super(context,attrs,defStyle);
    }

    @Override
    protected void initSubAttr(Context context, AttributeSet attrs, int defStyle) {

    }

    @Override
    protected void drawOuterRing(Canvas canvas) {

    }

    @Override
    protected Rect obtainCircleRect(Rect rect) {
        return rect;
    }

    @Override
    protected Rect obtainOuterRingRect(Rect rect) {
        return null;
    }
}
